package com.dcm360.report.alarm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 机房设备数据记录对象 device
 * 
 * @author ruoyi
 * @date 2022-03-31
 */
public class Device extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备ID，唯一标识 */
    private String id;

    /** 所属机房ID */
    private String roomId;

    /** 所属机柜ID */
    private String cabinId;

    /** 设备编码 */
    private String serialNo;

    /** 设备名称 */
    private String name;

    /** 设备描述 */
    private String description;

    /** 设备状态9:删除 */
    private String status;

    /** 设备类型：IT设备、空调、配电柜等 */
    private String type;

    /** 设备型号 */
    private String model;

    /** 设备在机柜中的U位范围：U00:U42，以英文冒号分割 */
    private String verticalPos;

    /** 设备IP */
    private String ipAddr;

    /** 设备重要性等级，用于告警级别 */
    private String level;

    /** 所属部门 */
    private String deptId;

    /** 创建人 */
    private String createUid;

    /** 资产编码 */
    private String capitalCode;

    /** SN编码 */
    private String snCode;

    /** 品牌 */
    private String brand;

    /** 出厂日期 */
    private String productionTime;

    /** 设备绑定状态 */
    private String bindingStatus;

    /** $column.columnComment */
    private String isInventory;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setRoomId(String roomId) 
    {
        this.roomId = roomId;
    }

    public String getRoomId() 
    {
        return roomId;
    }
    public void setCabinId(String cabinId) 
    {
        this.cabinId = cabinId;
    }

    public String getCabinId() 
    {
        return cabinId;
    }
    public void setSerialNo(String serialNo) 
    {
        this.serialNo = serialNo;
    }

    public String getSerialNo() 
    {
        return serialNo;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setVerticalPos(String verticalPos) 
    {
        this.verticalPos = verticalPos;
    }

    public String getVerticalPos() 
    {
        return verticalPos;
    }
    public void setIpAddr(String ipAddr) 
    {
        this.ipAddr = ipAddr;
    }

    public String getIpAddr() 
    {
        return ipAddr;
    }
    public void setLevel(String level) 
    {
        this.level = level;
    }

    public String getLevel() 
    {
        return level;
    }
    public void setDeptId(String deptId) 
    {
        this.deptId = deptId;
    }

    public String getDeptId() 
    {
        return deptId;
    }
    public void setCreateUid(String createUid) 
    {
        this.createUid = createUid;
    }

    public String getCreateUid() 
    {
        return createUid;
    }
    public void setCapitalCode(String capitalCode) 
    {
        this.capitalCode = capitalCode;
    }

    public String getCapitalCode() 
    {
        return capitalCode;
    }
    public void setSnCode(String snCode) 
    {
        this.snCode = snCode;
    }

    public String getSnCode() 
    {
        return snCode;
    }
    public void setBrand(String brand) 
    {
        this.brand = brand;
    }

    public String getBrand() 
    {
        return brand;
    }
    public void setProductionTime(String productionTime) 
    {
        this.productionTime = productionTime;
    }

    public String getProductionTime() 
    {
        return productionTime;
    }
    public void setBindingStatus(String bindingStatus) 
    {
        this.bindingStatus = bindingStatus;
    }

    public String getBindingStatus() 
    {
        return bindingStatus;
    }
    public void setIsInventory(String isInventory) 
    {
        this.isInventory = isInventory;
    }

    public String getIsInventory() 
    {
        return isInventory;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("roomId", getRoomId())
            .append("cabinId", getCabinId())
            .append("serialNo", getSerialNo())
            .append("name", getName())
            .append("description", getDescription())
            .append("status", getStatus())
            .append("type", getType())
            .append("model", getModel())
            .append("verticalPos", getVerticalPos())
            .append("ipAddr", getIpAddr())
            .append("level", getLevel())
            .append("deptId", getDeptId())
            .append("createTime", getCreateTime())
            .append("createUid", getCreateUid())
            .append("updateTime", getUpdateTime())
            .append("capitalCode", getCapitalCode())
            .append("snCode", getSnCode())
            .append("brand", getBrand())
            .append("productionTime", getProductionTime())
            .append("bindingStatus", getBindingStatus())
            .append("isInventory", getIsInventory())
            .toString();
    }
}
